﻿{%extends "base.html"%}
{%block body%}
    <h2>All Expenses</h2>

    List of Expenses:
    <ul>
    {%for expense in expenses%}
    <li>
      <a href="{%url views.edit expense.key.id%}">{{expense.item.name|escape}}</a>
      - created {{expense.created|date:"Y/m/d H:i:s"}} by {{expense.owener}}
    {%endfor%}
    </ul>

    <a id="expense" href="#expense">记费用</a>
    <a id="revenue" href="#revenue">记收入</a>
    <div id="expense-form">
        记费用表单。
    </div>
    <div id="revenue-form">
        记收入表单。
    </div>
{%endblock%}